/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.google.cse.emea.universaltransformer.editors;

import com.google.cse.emea.jct.utils.Profile;
import java.io.IOException;

/**
 *
 * @author jtrapp
 */
public interface EditorInterface {
    
    /**
     * Type for which the editor is registering 
     * @return
     */
    public String[] getTypes();
    
    /**
     * View a file in a small Editor.
     * @param profile All configuration parameters are stored in the profile
     * @param prefix Prefix of the configuration parameter. Normally either "input." ot "output."
     */
    
    public void viewFile(Profile profile, String prefix, String type) throws IOException;

}
